home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / ccl110je.zip / MAKEFILE.MAK < prev   
Makefile  |  1993-06-19  |  2KB  |  53 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #       MAKEFILE.MAK: makefile for DOS coroutine library.
  4. #       Copyright (c) J.English 1993.
  5. #
  6. #       Permission is granted to use copy and distribute the
  7. #       information contained in this file provided that this
  8. #       copyright notice is retained intact and that any software
  9. #       or other document incorporating this file or parts thereof
  10. #       makes the source code for the TSR class of which this file
  11. #       is a part freely available.
  12. #
  13. #---------------------------------------------------------------------------
  14.  
  15. .AUTODEPEND
  16. .SILENT
  17.  
  18. #----- Symbol definitions -----
  19.  
  20. DIR   = d:\borlandc                 # Borland C++ directory -- change to suit
  21. MODEL = s                           # Memory model (s, m, l, c, h or t)
  22. CC    = bcc -m$(MODEL) -I$(INC)\include -L$(LIB)\lib
  23.  
  24. #----- Default compilation rule -----
  25.  
  26. .cpp.obj:
  27.     $(CC) -c $.
  28.  
  29. #----- Compilation rules -----
  30.  
  31. all: example1.exe example2.exe example3.exe
  32.  
  33. example1.exe: example1.obj coroutin.obj
  34.     $(CC) example1.obj coroutin.obj
  35.  
  36. example2.exe: example2.obj coroutin.obj
  37.     $(CC) example2.obj coroutin.obj
  38.  
  39. example3.exe: example3.obj coroutin.obj
  40.     $(CC) example3.obj coroutin.obj
  41.  
  42. example1.obj: example1.cpp
  43. example2.obj: example2.cpp
  44. example3.obj: example3.cpp
  45.  
  46. #----- Other targets -----
  47.  
  48. clean:                              # clean up directory
  49.     del *.obj
  50.  
  51. print:                              # print sources
  52.     print *.doc *.mak *.h *.cpp
  53.